package com.yxuan.springboot.model;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * 
 * @author zchao
 *    ProfessionalScore实体类
 * @date 2023-06-06 16:22:17
 */
@Data
@ApiModel(description = "专业分数线")
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler" })
public class ProfessionalScore implements Serializable{

	  private static final long serialVersionUID = 1L;
	
	  @ApiModelProperty(value = "")
	  private Long id;
	  @ApiModelProperty(value = "院校名称")
	  @JsonProperty("school_name")
	  private String schoolName;
	@JsonProperty("school_id")
	  @ApiModelProperty(value = "院校id")
	  private Long schoolId;
	  @ApiModelProperty(value = "专业名称")
	  @JsonProperty("professional_name")
	  private String professionalName;
	  @ApiModelProperty(value = "录取批次")
	  @JsonProperty("admission_batch")
	  private String admissionBatch;
	  @ApiModelProperty(value = "平均分")
	  @JsonProperty("average_score")
	  private String averageScore;
	  @ApiModelProperty(value = "最低分")
	  @JsonProperty("lowest_score")
	  private String lowestScore;
	  @ApiModelProperty(value = "最低位次")
	  @JsonProperty("lowest_order")
	  private String lowestOrder;
	  @ApiModelProperty(value = "专业类别")
	  @JsonProperty("speciality_classification")
	  private String specialityClassification;
	  @ApiModelProperty(value = "")
	  @JsonProperty("enrollment_year")
	  private Integer enrollmentYear;
	  @ApiModelProperty(value = "")
	  @JsonProperty("province_name")
	  private String provinceName;
	@ApiModelProperty(value = "")
	@JsonProperty("school_lot_type")
	private String schoolLotType;
	@ApiModelProperty(value = "专业组")
	@JsonProperty("professional_group")
	private String professionalGroup;
	@ApiModelProperty(value = "选科要求")
	@JsonProperty("professional_request")
	private String professionalRequest;



	// 录取概率
	Integer rate;

	public ProfessionalScore() {
	}

	public ProfessionalScore(Long id, String schoolName, Long schoolId, String professionalName, String admissionBatch, String averageScore, String lowestScore, Integer lowestOrder, String specialityClassification, Integer enrollmentYear, String provinceName, String school_lot_type, String professional_group, String professional_request) {
		this.id = id;
		this.schoolName = schoolName;
		this.schoolId = schoolId;
		this.professionalName = professionalName;
		this.admissionBatch = admissionBatch;
		this.averageScore = averageScore;
		this.lowestScore = lowestScore;
		this.lowestOrder = String.valueOf(lowestOrder);
		this.specialityClassification = specialityClassification;
		this.enrollmentYear = enrollmentYear;
		this.provinceName = provinceName;
		this.schoolLotType = school_lot_type;
		this.professionalGroup = professional_group;
		this.professionalRequest = professional_request;
	}
}
